<!--
    THIS EXAMPLE WAS DOWNLOADED FROM https://echarts.apache.org/examples/zh/editor.html?c=bar-y-category
-->
<!DOCTYPE html>
<html style="height: 100%">
    <head>
        <meta charset="utf-8">
    </head>
    <body style="height: 100%; margin: 0">
        <div id="container" style="height: 100%"></div>

        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
        <!-- Uncomment this line if you want to dataTool extension
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/dist/extension/dataTool.min.js"></script>
        -->
        <!-- Uncomment this line if you want to use gl extension
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-gl@2/dist/echarts-gl.min.js"></script>
        -->
        <!-- Uncomment this line if you want to echarts-stat extension
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-stat@latest/dist/ecStat.min.js"></script>
        -->
        <!-- Uncomment this line if you want to use map
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/map/js/china.js"></script>
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/map/js/world.js"></script>
        -->
        <!-- Uncomment these two lines if you want to use bmap extension
        <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=<Your Key Here>"></script>
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/dist/extension/bmap.min.js"></script>
        -->

        <script type="text/javascript">
var dom = document.getElementById("container");
var myChart = echarts.init(dom);
var app = {};

var option;



option = {
    title: {
        text: '计划账户进线数量',
        subtext: '数据来自网络'
    },
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'shadow'
        }
    },
    legend: {
        data: ['A级客户', 'B级客户', 'C级客户', 'D级客户', 'E级客户','无','合计']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    xAxis: {
        type: 'value',
        boundaryGap: [0, 0.001]
    },
    yAxis: {
        type: 'category',
        data: ['上医1-不知道的计划', '上医3-8962的计划', '上医6-545计划', '上医8-不知道计划', '本草1-计划', '最后一']
    },
    series: [
        {
            name: '出单率',
            type: 'bar',
            data: [0.5, 0.08, 0.25, 0.4, 0.05, 0.07]
        },
        {
            name: 'A级客户',
            type: 'bar',
            data: [2, 1, 2, 5, 2, 4]
        },
        {
            name: 'B级客户',
            type: 'bar',
            data: [5, 2, 4, 7, 3, 6]
        },
        {
            name: 'C级客户',
            type: 'bar',
            data: [14, 25, 24, 17, 7, 14]
        },
        {
            name: 'D级客户',
            type: 'bar',
            data: [4, 4, 5, 3, 7, 17]
        },
        {
            name: 'E级客户',
            type: 'bar',
            data: [2, 4, 5, 7, 6, 7]
        },
        {
            name: '无',
            type: 'bar',
            data: [1, 1, 1, 4, 3, 2]
        },
        {
            name: '共计',
            type: 'bar',
            data: [28, 37, 41, 42, 28,50]
        }
    ]
};

if (option && typeof option === 'object') {
    myChart.setOption(option);
}

        </script>
    </body>
</html>
    